﻿using System;
using System.Web.Http;
using GameLogic.Place;

namespace GameAPI.Controllers
{
    public class GameIslandController : ApiController
    {
        private IslandManager _islandManager;

        public GameIslandController()
        {
            _islandManager = new IslandManager();
        }

        [HttpGet]
        public Guid Create()
        {
            return _islandManager.CreateIsland();
        }
    }
}